[SOS]perl in arm-linux cross compile failure!

------=_NextPart_000_0003_01CBFA97.9B335770
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello, When I cross compile the Perl source(5.10.1) in linux.

I followed the README .

But the last step: make perl, I got the info :

....

universal.c: In function 'XS_Tie_Hash_NamedCapture_STORE':

universal.c:1392:5: warning: unused variable 'Perl___notused'

universal.c: In function 'XS_Tie_Hash_NamedCapture_DELETE':

universal.c:1417:5: warning: unused variable 'Perl___notused'

universal.c: In function 'XS_Tie_Hash_NamedCapture_CLEAR':

universal.c:1436:5: warning: unused variable 'Perl___notused'

universal.c: In function 'XS_Tie_Hash_NamedCapture_EXISTS':

universal.c:1457:5: warning: unused variable 'Perl___notused'

universal.c: In function 'XS_Tie_Hash_NamedCapture_FIRSTK':

universal.c:1485:5: warning: unused variable 'Perl___notused'

universal.c: In function 'XS_Tie_Hash_NamedCapture_NEXTK':

universal.c:1517:5: warning: unused variable 'Perl___notused'

universal.c: In function 'XS_Tie_Hash_NamedCapture_SCALAR':

universal.c:1548:5: warning: unused variable 'Perl___notused'

universal.c: In function 'XS_Tie_Hash_NamedCapture_flags':

universal.c:1580:5: warning: unused variable 'Perl___notused'

../generate_uudmap uudmap.h bitcount.h

../generate_uudmap: 1: Syntax error: word unexpected (expecting ")")

make[1]: *** [bitcount.h] Error 2

make[1]: Leaving directory `/tmp/perl-5.12.3'

make: *** [perl] Error 2



how to solve this problem?

Help me, thx.


------=_NextPart_000_0003_01CBFA97.9B335770--
guo-qijiang [ Do, 14 April 2011 05:32 ] [ ID #2058114 ]

Re: [SOS]perl in arm-linux cross compile failure!

On Thu, Apr 14, 2011 at 11:32:13AM +0800, guo-qijiang wrote:
> Hello, When I cross compile the Perl source(5.10.1) in linux.

Cross-compiling perl is not easy. I would suggest trying at least the
latest stable release, 5.12.3, and perhaps even the lastest version from
git, which is reasonably stable at the moment since 5.14.0 will shortly
be released.

> I followed the README .
>
> But the last step: make perl, I got the info :

> ./generate_uudmap uudmap.h bitcount.h
>
> ./generate_uudmap: 1: Syntax error: word unexpected (expecting ")")
>
> make[1]: *** [bitcount.h] Error 2
>
> make[1]: Leaving directory `/tmp/perl-5.12.3'

Ah, so you are already using 5.12.3? Make sure you are in a clean
directory and not getting muddled up with 5.10.1. And you might need to
try the latest dev version then.

> how to solve this problem?
>
> Help me, thx.

If you're having no luck and you're sure you are doing everything as per
the instructions then you can try asking on the perl5-porters mailing
list. Be warned that you might find the answer to be that it is broken
and no one is working on fixing it. If that is the case, and you want
to fix it, then you will find people willing to help you as much as they
can.

Good luck,

--
Paul Johnson - paul [at] pjcj.net
http://www.pjcj.net

--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Paul Johnson [ Do, 14 April 2011 21:22 ] [ ID #2058139 ]
Perl » gmane.comp.lang.perl.beginners » [SOS]perl in arm-linux cross compile failure!

Vorheriges Thema: Regular expression to capitalize first letter of words in
Nächstes Thema: Calling subroutines with the & sigil